package com.example.mysaat.service_menu_test_result;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.BaseAdapter;
import android.widget.ListView;
import android.widget.SeekBar;

import com.example.mysaat.R;
import com.example.mysaat.service_menu_manual_test.ListViewAdapter;
import com.example.mysaat.service_menu_manual_test.Listeners.MySeekBarChangeListener;

public class ServiceMenuTestResult extends AppCompatActivity {
    private SeekBar slideToExitView;
    private ListView listView = null;
    private BaseAdapter adapter = null;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_service_menu_test_result);
        init();
        initContent();
    }

    private void init(){
        slideToExitView = findViewById(R.id.result_exit_stev);
         listView = findViewById(R.id.result_list_lv);

    }

    private void initContent(){
        adapter = new ListViewAdapter(this);
        listView.setAdapter(adapter);
        slideToExitView.setOnSeekBarChangeListener(new MySeekBarChangeListener(this));
    }
}
